GtkCellRendererTextPrivate: Improve struct packing
authorMatthias Clasen <mclasen@redhat.com>
Tue, 12 Apr 2011 16:31:28 +0000 (12:31 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 12 Apr 2011 16:31:28 +0000 (12:31 -0400)
gtk/gtkcellrenderertext.c

index 2b756d1fe695fbd6ed4fdaa94a26b363b5c6f36c..c5eed2e23b49bc1b824e21d70bac841e34a81c4a 100644 (file)
@@ -161,18 +161,16 @@ struct _GtkCellRendererTextPrivate
 {
   GtkWidget *entry;
 
-  PangoAlignment        align;
   PangoAttrList        *extra_attrs;
   GdkRGBA               foreground;
   GdkRGBA               background;
+  PangoAlignment        align;
   PangoEllipsizeMode    ellipsize;
   PangoFontDescription *font;
   PangoLanguage        *language;
   PangoUnderline        underline_style;
   PangoWrapMode         wrap_mode;
 
-  gboolean in_entry_menu;
-
   gchar *text;
 
   gdouble font_scale;
@@ -183,6 +181,7 @@ struct _GtkCellRendererTextPrivate
   gint max_width_chars;
   gint wrap_width;
 
+  guint in_entry_menu     : 1;
   guint strikethrough     : 1;
   guint editable          : 1;
   guint scale_set         : 1;